package com.example.a12769.myapplication.base;

import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.RadioButton;
import android.widget.RadioGroup;

import com.example.a12769.myapplication.R;
import com.trello.rxlifecycle2.components.support.RxAppCompatActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class Main2Activity extends RxAppCompatActivity {

    @BindView(R.id.frameLayout)
    FrameLayout frameLayout;
    @BindView(R.id.rb_home)
    RadioButton rbHome;
    @BindView(R.id.rb_cart)
    RadioButton rbCart;
    @BindView(R.id.rb_community)
    RadioButton rbCommunity;
    @BindView(R.id.rb_user)
    RadioButton rbUser;
    @BindView(R.id.rg_main)
    RadioGroup rgMain;
    @BindView(R.id.main_card_visibal)
    CardView mainCardVisibal;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
        findViewById(R.id.radio);

    }


    @OnClick({R.id.frameLayout, R.id.rb_home, R.id.rb_cart, R.id.rb_community, R.id.rb_user, R.id.rg_main, R.id.main_card_visibal})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.frameLayout:
                break;
            case R.id.rb_home:
                break;
            case R.id.rb_cart:
                break;
            case R.id.rb_community:
                break;
            case R.id.rb_user:
                break;
            case R.id.rg_main:
                break;
            case R.id.main_card_visibal:
                break;
        }
    }
}
